﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace Fishing.WCFContracts
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IService1" in both code and config file together.
    [ServiceContract]
    public interface IFangbuchProvider
    {
        [OperationContract]
        List<FangbuchContract> LoadFangBuchContracts();

        // TODO: Add your service operations here
    }

    // Use a data contract as illustrated in the sample below to add composite types to service operations
    [DataContract]
    public class FangbuchContract
    {
        [DataMember]
        public DateTime FangDatum { get; set; }

        [DataMember]
        public string FangPlatz { get; set; }

        [DataMember]
        public string FangFisch { get; set; }

    }
}
